home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Sapphire Collection / Software Vault (Sapphire Collection) (Digital Impact).ISO / cdr47 / trace122.zip / TRACE1.AIC < prev    next >
Text File  |  1997-02-13  |  7KB  |  136 lines

  1. ;
  2. ;               Tables for decoding interupt functions
  3. ;               Configuration is: subfunction number,text,flag
  4.  
  5. ;                        flag is: 0   for all entries but the last
  6. ;                        flag is: 80h for the last entry
  7. ;
  8. ;               Subfunctions updated 01/21/87 by Arny Krueger
  9. ;                        to include known undocumented functions
  10.  
  11. int13_functab   label   byte
  12.                 db      0,"Reset Disk",0
  13.                 db      1,"Read Status",0
  14.                 db      2,"Read to ES:BX",0
  15.                 db      3,"Write from ES:BX",0
  16.                 db      4,"Verify",0
  17.                 db      5,"Format Track per ES:BX",0
  18.                 db      6,"Format & Set Bad Sects",0
  19.                 db      7,"Format Drive from Track",0
  20.                 db      8,"Get Drive Params",0
  21.                 db      9,"Init Drive Params",0
  22.                 db      10,"Read Long",0
  23.                 db      11,"Write Long",0
  24.                 db      12,"Seek",0
  25.                 db      13,"Alt Disk Reset",0
  26.                 db      14,"Read Sect Buf",0
  27.                 db      15,"Write Sect Buf",0
  28.                 db      16,"Test Drive Ready",0
  29.                 db      17,"Recalibrate",0
  30.                 db      18,"Ram Diagnostic",0
  31.                 db      19,"Drive Diagnostic",0
  32.                 db      20,"Internal Diagnostic",0
  33.                 db      21,"Get Disk Type",0
  34.                 db      22,"Change Status",0
  35.                 db      23,"Set Disk Type",080h
  36.  
  37. int21_functab label byte
  38.         db      0,"Terminate program",0
  39.         db      1,"Console input w/echo to AL",0
  40.         db      2,"Display Output of DL",0
  41.         db      3,"AUX input to AL",0
  42.         db      4,"AUX output from DL",0
  43.         db      5,"Printer output from DL",0
  44.         db      6,"Input to AL (DL=0FFh) or Display DL",0
  45.         db      7,"Raw keyboard input w/o echo to AL",0
  46.         db      8,"Console input w/o echo to AL",0
  47.         db      9,"Print string at DS:DX till '$'",0
  48.         db      0ah,"Buffered console input to DS:DX",0
  49.         db      0bh,"Set AL=0FFh if input ready, else AL=0",0
  50.         db      0ch,"Clear buf and do function in AL",0
  51.         db      0dh,"Reset disk",0
  52.         db      0eh,"Select drive per DL (0=A)",0
  53.         db      0fh,"Open file, FCB at DS:DX",0
  54.         db      10h,"Close file, FCB at DS:DX",0
  55.         db      11h,"Search for first per pattern FCB at DS:DX",0
  56.         db      12h,"Search for next per pattern FCB at DS:DX",0
  57.         db      13h,"Delete file per FCB at DS:DX",0
  58.         db      14h,"Read sequential, FCB at DS:DX",0
  59.         db      15h,"Write sequential, FCB at DS:DX",0
  60.         db      16h,"Create file, FCB at DS:DX",0
  61.         db      17h,"Rename file, special FCB at DS:DX",0
  62.         db      19h,"Return current drive in AL (0=A)",0
  63.         db      1ah,"Set DTA to DS:DX",0
  64.         db      1bh,"Get FAT info for default drive",0
  65.         db      1ch,"Get FAT info for drive DL (0=default)",0
  66.         db      1dh,"Undocumented 1dh",0
  67.         db      1eh,"Undocumented 1eh",0
  68.         db      1fh,"Undocumented - get drive parameter block at DS:BX",0
  69.         db      20h,"Undocumented 20h",0
  70.         db      21h,"Random Read, FCB at DS:DX",0
  71.         db      22h,"Random Write, FCB at DS:DX",0
  72.         db      23h,"Set file size per FCB pattern at DS:DX",0
  73.         db      24h,"Set random rec field in FCB at DS:DX",0
  74.         db      25h,"Set Interrupt <AL> vector to DS:DX",0
  75.         db      26h,"Create new segment at <DX>:0000",0
  76.         db      27h,"Random Read of <CX> records, FCB at DS:DX",0
  77.         db      28h,"Random Write of <CX> records, FCB at DS:DX",0
  78.         db      29h,"Parse filename at DS:SI into FCB at ES:DI",0
  79.         db      2ah,"Get year to CX, month to DH, day to DL",0
  80.         db      2bh,"Set year to CX, month to DH, day to DL",0
  81.         db      2ch,"Get CH=hours CL=mins DH=secs DL=tenths",0
  82.         db      2dh,"Set hours=CH mins=CL secs=DH tenths=DL",0
  83.         db      2eh,"IFF DL=0 then set VERIFY per AL",0
  84.         db      2fh,"Get DTA to ES:BX",0
  85.         db      30h,"Get DOS version to AL (major), AH (minor)",0
  86.         db      31h,"Term/stay resident, DX=# para's AL=exit code",0
  87.         db      32h,"Undocumented - get drive parameter block at DS:BX",0
  88.         db      33h,"Request (AL=0) or set (AL=1,DL=value) BREAK value",0
  89.         db      34h,"Undocumented Set ES:BX to DOS 'in-use' flag",0
  90.         db      35h,"Set ES:BX to vector for INT # <AL>",0
  91.         db      36h,"Get disk space for drive DL (0=default)",0
  92.         db      37h,"Undocumented Get/Set DOS Switch Char DL returns flag",0
  93.         db      38h,"Return country info to DS:DX",0
  94.         db      39h,"Create directory per ASCIIZ at DS:DX",0
  95.         db      3ah,"Remove directory per ASCIIZ at DS:DX",0
  96.         db      3bh,"Change directory to ASCIIZ at DS:DX",0
  97.         db      3ch,"Create file per ASCIIZ at DS:DX, attrib <CX>",0
  98.         db      3dh,"Open file per ASCIIZ at DS:DX, access <AL>",0
  99.         db      3eh,"Close file handle <BX>",0
  100.         db      3fh,"Read <CX> bytes from file handle <BX> to DS:DX",0
  101.         db      40h,"Write <CX> bytes from DS:DX to file handle <BX>",0
  102.         db      41h,"Delete file per ASCIIZ at DS:DX",0
  103.         db      42h,"LSEEK file handle <BX> <CX:DX> bytes, method <AL>",0
  104.         db      43h,"Set (AL=1, CX=value) or get (AL=0) attrib for ASCIIZ at DS:DX",0
  105.         db      44h,"IOCTL for file handle <BX>, func <AL>",0
  106.         db      45h,"DUP file handle <BX> into <AX>",0
  107.         db      46h,"Force DUP of handle <BX> into handle <CX>",0
  108.         db      47h,"Get cur dir for drive <DL> (0=default) to DS:SI",0
  109.         db      48h,"Allocate <BX> paragraphs, address to AX",0
  110.         db      49h,"Free block starting at <ES>",0
  111.         db      4ah,"Modify segment <ES> to be <BX> para's in size",0
  112.         db      4bh,"EXEC file at ASCIIZ DS:DX, func <AL>",0
  113.         db      4ch,"Terminate with exit code <AL>",0
  114.         db      4dh,"Get EXIT return code to AX",0
  115.         db      4eh,"Find first per ASCIIZ at DS:DX and attrib <CX>",0
  116.         db      4fh,"Find next per current DTA",0
  117.         db      50h,"Undocumented Set PSP from BX",0
  118.         db      51h,"Undocumented Get PSP to BX",0
  119.         db      52h,"Undocumented Get Memory Block root+2 in ES:BX",0
  120.         db      53h,"Undocumented 53h",0
  121.         db      54h,"Get VERIFY state to AL",0
  122.         db      55h,"Undocumented Make PSP at DX",0
  123.         db      56h,"Rename filename at ASCIIZ DS:DX to ASCIIZ at ES:DI",0
  124.         db      57h,"Get (AL=0) or set (AL=1) date/time for file handle <BX>",0
  125.         db      59h,"Get extended error code",0
  126.         db      5ah,"Create temp file per ASCIIZ DS:DX and attrib <CX>",0
  127.         db      5bh,"Create new file per ASCIIZ DS:DX and attrib <CX>",0
  128.         db      5ch,"Lock (AL=0) or unlock (AL=1) file handle <BX>",0
  129.         db      5dh,"Undocumented 5Dh",0
  130.         db      5eh,"Undocumented 5Eh",0
  131.         db      5fh,"Undocumented 5Fh",0
  132.         db      60h,"Undocumented 60h",0
  133.         db      61h,"Undocumented 61h",0
  134.         db      62h,"Get PSP segment address to BX",080h
  135.  
  136.